package com.vibration.baseinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vibration.common.annotation.Excel;
import com.vibration.common.core.domain.BaseEntity;

/**
 * 任务数据对象 cz_task_data
 * 
 * @author wu
 * @date 2022-08-11
 */
public class CzTaskData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 设备编号 */
    private String sn;

    private String equipmentName;

    /** 设备编号 */
    private Long taskId;

    /** $column.columnComment */
    private String dataX;

    /** $column.columnComment */
    private String dataY;

    /** $column.columnComment */
    private String dataZ;

    private Double gyroscopeX;

    private Double gyroscopeY;

    private Double gyroscopeZ;

    private Double temperature;

    /** $column.columnComment */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dataTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSn(String sn)
    {
        this.sn = sn;
    }

    public String getSn()
    {
        return sn;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public void setDataX(String dataX)
    {
        this.dataX = dataX;
    }

    public String getDataX() 
    {
        return dataX;
    }
    public void setDataY(String dataY) 
    {
        this.dataY = dataY;
    }

    public String getDataY() 
    {
        return dataY;
    }
    public void setDataZ(String dataZ) 
    {
        this.dataZ = dataZ;
    }

    public String getDataZ() 
    {
        return dataZ;
    }

    public Double getGyroscopeX() {
        return gyroscopeX;
    }

    public void setGyroscopeX(Double gyroscopeX) {
        this.gyroscopeX = gyroscopeX;
    }

    public Double getGyroscopeY() {
        return gyroscopeY;
    }

    public void setGyroscopeY(Double gyroscopeY) {
        this.gyroscopeY = gyroscopeY;
    }

    public Double getGyroscopeZ() {
        return gyroscopeZ;
    }

    public void setGyroscopeZ(Double gyroscopeZ) {
        this.gyroscopeZ = gyroscopeZ;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public void setDataTime(Date dataTime)
    {
        this.dataTime = dataTime;
    }

    public Date getDataTime() 
    {
        return dataTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sn", getSn())
            .append("taskId", getTaskId())
            .append("dataX", getDataX())
            .append("dataY", getDataY())
            .append("dataZ", getDataZ())
            .append("dataTime", getDataTime())
            .toString();
    }
}
